package com.tuanzi.loan.business.repository.receipt.statistics.custom;

import com.tuanzi.loan.business.entity.extend.ExtendInfo;
import com.tuanzi.loan.vo.request.receipt.statistics.ReceiptExtendStatisticsSearchRequest;
import com.tuanzi.loan.vo.response.receipt.statistics.ReceiptExtendStatisticsSearchResponse;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.Date;
import java.util.List;

/**   
 * @Package: com.tuanzi.loan.business.repository.receipt.statistics.custom 
 */
public interface ReceiptExtendStatisticsRepositoryCustom {
	
    Page<ReceiptExtendStatisticsSearchResponse> list(ReceiptExtendStatisticsSearchRequest searchRequest, Pageable pageable);

    Integer getNginxUV(String url, Date date);

    List<ExtendInfo> findAllExtendInfos();

    Integer findOrderCountByProdIdAndChanelIdAndDate(Long productId, String channelId, Date startTime, Date endTime);

    Integer getRegisterCount(String channelId, Date startDate,Date endDate);
}
